import request from '@/utils/request'

//需求分类
export function getDemandCate() {
    return request.get({ url: '/demand/cate' })
}

//需求列表
export function getDemandList(data: Record<string, any>) {
    return request.get({ url: '/demand/lists', data: data })
}

//需求详情
export function getDemandDetail(data: { id: number }) {
    return request.get({ url: '/demand/detail', data: data })
}
